package com.example.service;

import com.example.mapper.EchartsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class EchartsService {
    @Autowired
    private EchartsMapper echartsMapper;

    public List<Map<String, Object>> getMBTIDataForEcharts() {
        // 调用 MyBatis Mapper 层方法获取 MBTI 数据
        return echartsMapper.getMBTIEcharts();
    }
}
